//
// Created by buyongjiu on 2024/4/27.
//

#ifndef FEI_PARSER_TOKEN_H
#define FEI_PARSER_TOKEN_H

#include <string>
#include <vector>

enum TokenType {SEGMENT, OPERATOR, KEYWORD, IDENTIFIER, LITERALS, ERROR, OTHERS};

class Token {
public:
    TokenType type;
    int line = 0;
    std::string value;
    Token(){};
    Token(TokenType type, int line, std::string value);
};


#endif //FEI_PARSER_TOKEN_H
